package com.ruoyi.merchant.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 提现记录VO
 */
@Data
//提现记录
public class WithdrawRecordVO {
    
    //流水ID
    private Long flowId;
    
    //流水号
    private String flowNo;
    
    //提现金额
    private BigDecimal amount;
    
    //提现状态
    private Integer withdrawalStatus;
    
    //提现状态名称
    private String withdrawalStatusName;
    
    //提现银行卡ID
    private Long withdrawalCardId;
    
    //银行名称（预留）
    private String bankName;
    
    //银行卡号后四位（预留）
    private String cardNo;
    
    //第三方交易流水号
    private String transactionId;
    
    //申请时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date applyTime;
    
    //完成时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date completeTime;
    
    //结算日期
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date settlementDate;
    
    //备注
    private String remark;
    
    //失败原因（当状态为失败时）
    private String failReason;
}
